/**
 * Created by 2019/3/18/018
 * Author: Admin
 */
import axios from './server';
// import url from './config';
//登陆方法
export function login(account,password){
    return axios.post('/web/account/adminLogin', {
        account: account, password: password
    })
}
//管理员列表
export const adminList = (parameter) => {
    return axios({
        method:'post',
        url:'/web/account/adminList',
        headers: {
            "token": sessionStorage.token,
            "id": sessionStorage.userId
        },
        data:parameter
    })
}